import { http } from '@/util'

// 产品列表-产品信息-产品中心权限-->负责人:高恺
export const kwaiProductList = (params) => {
  return http.get('/anchor/platform/manager/kwai/product/list/on/info', {
    params
  })
}

// 产品列表-产品信息-(分总、区总权限)-->负责人:高恺
export const kwaiProductSelfList = (params) => {
  return http.get('/anchor/platform/manager/kwai/product/list/on/info/self', {
    params
  })
}

// 套餐-列表
export const kwaiProductItemList = (params) => {
  return http.get('/anchor/platform/manager/kwai/product/list/on/info/item', {
    params
  })
}

// 操作快手产品上下线状态-->负责人:高恺
export const kwaiProductModify = (data) => {
  return http.post('/anchor/platform/manager/kwai/product/modify/kwaiProductStatus', data)
}

// 快手站点列表-->负责人:高恺
export const kwaiLocationList = (data) => {
  return http.post('/anchor/platform/anchors/common/kwai/location/list', data)
}
// 订单数据按天统计查询
export const kwaiStatisticsList = (data) => {
  return http.post('/anchor/platform/manager/kwai/order/statistics/query', data)
}
// poi列表查询
export const kwaiPoiList = (params) => {
  return http.get('/anchor/platform/manager/kwai/poi/list', {
    params
  })
}
// spu列表查询-admin
export const kwaiSpuList = (params) => {
  return http.get('/anchor/platform/manager/kwai/spu/list', {
    params
  })
}
// SPU列表(区总-分总)-->负责人:高恺
export const kwaiSpuListSelf = (params) => {
  return http.get('/anchor/platform/manager/kwai/spu/list/self', {
    params
  })
}
// 套餐提交快手审核-->负责人:彭光辉 spu
export const kwaiSpuSubmit = (data) => {
  return http.post('/anchor/platform/manager/kwai/spu/submit/item', data)
}
// 套餐批量提交快手审核-->负责人:彭光辉
export const kwaiSpuSubmitSelect = (data) => {
  return http.post('/anchor/platform/manager/kwai/spu/submit/poi', data)
}
// 套餐绑定poi
export const kwaiBindingPoi = (data) => {
  return http.post('/anchor/platform/manager/kwai/spu/binding/poi', data)
}
// 套餐品质营销获取-spu
export const kwaiQualitysSpu = (params) => {
  return http.get('/anchor/platform/manager/kwai/spu/quality/marketing/get', {
    params
  })
}
// 商品挂载 审核状态查询 SPU
export const kwaiProductMount = (data) => {
  return http.post('/anchor/platform/manager/kwai/spu/oa/qry/product/mount', data)
}
// SPU-POI-->负责人:高恺
export const kwaiSpuForPoi = (params) => {
  return http.get('/anchor/platform/manager/kwai/spu/for/poi', {
    params
  })
}
// 套餐poi批量上下线 -->负责人:彭光辉
export const kwaiSpuUpdateKwaiVisible = (data) => {
  return http.post('/anchor/platform/manager/kwai/spu/update/kwaiVisible', data)
}
// 管理端-POI挂载 审核状态查询
export const kwaiPoiMount = (data) => {
  return http.post('/anchor/platform/manager/kwai/poi/oa/qry/poi/mount', data)
}
// 管理端-获取快手poi
export const kwaiPoiGetId = (params) => {
  return http.get('/anchor/platform/manager/kwai/poi/get/id', {
    params
  })
}
// 管理端-poi挂载 提交快手审核
export const kwaiPoiMountPoi = (data) => {
  return http.post('/anchor/platform/manager/kwai/poi/oa/mount/poi', data)
}
// Poi品质等级获取
export const kwaiPoiqualityGet = (params) => {
  return http.get('/anchor/platform/manager/kwai/poi/quality/grade/get', {
    params
  })
}
// 管理端-poi挂载修改
export const kwaiPoiMountPoiUpdate = (data) => {
  return http.post('/anchor/platform/manager/kwai/poi/oa/mount/poi/update', data)
}
